package com.sky.user.service.impl;

import com.sky.user.mapper.UserMapper;
import com.sky.user.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;


/**
 * 小程序端 用户serviceImpl
 *                      后端用来做数据统计
 */
@Slf4j
@Service
public class UserServiceImpl implements UserService {


    @Resource
    private UserMapper userMapper;



    /**
     * 数据统计
     *        统计系统用户
     * @param map
     */
    @Override
    public Integer selectUserCountByMap(Map map) {
        return userMapper.selectUserCountByMap(map);
    }
}
